package com.wzdigit.wms.basic.client.request.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 修改货品类别状态输入
 * @author yangdongjie
 * @CreateZoneGroupRequest.java
 * @2021年1月4日上午11:18:30
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class UpdateStatusSkuCateRequest implements Serializable {

	private static final long serialVersionUID = 3160966647861849075L;
	
	@ApiModelProperty(value = "货品类别ID", required = true)
	@NotNull(message = "货品类别ID不能为空")
	private Integer skuCateId;
	
	/**
     * 状态
     */
	@ApiModelProperty(value = "状态", required = true)
	@NotNull(message = "状态不能为空！")
	@Range(min = 0, max = 1, message = "状态错误")
    private Integer isEnabled;
}